package com.unisal.teste;

import com.unisal.java.LojaDePizza;
import com.unisal.java.LojaDePizzaEstiloNovaYorque;
import com.unisal.java.LojadePizzaEstiloChicago;
import com.unisal.java.Pizza;

public class PizzaTeste {

	public static void main(String[] args) {
		LojaDePizza nyStore = new LojaDePizzaEstiloNovaYorque();
		LojaDePizza chicagoStore = new LojadePizzaEstiloChicago();
 
		Pizza pizza = nyStore.orderPizza("queijo");
		System.out.println("Ethan ordered a " + pizza + "\n");
 
		pizza = chicagoStore.orderPizza("queijo");
		System.out.println("Joel ordered a " + pizza + "\n");

		pizza = nyStore.orderPizza("mariscos");
		System.out.println("Ethan ordered a " + pizza + "\n");
 
		pizza = chicagoStore.orderPizza("mariscos");
		System.out.println("Joel ordered a " + pizza + "\n");

		pizza = nyStore.orderPizza("peperoni");
		System.out.println("Ethan ordered a " + pizza + "\n");
 
		pizza = chicagoStore.orderPizza("peperoni");
		System.out.println("Joel ordered a " + pizza + "\n");

		pizza = nyStore.orderPizza("vegetariana");
		System.out.println("Ethan ordered a " + pizza + "\n");
 
		pizza = chicagoStore.orderPizza("vegetariana");
		System.out.println("Joel ordered a " + pizza + "\n");
	}
}
